#include <iostream>
using namespace std;
class Persian{

public:
    Persian(){};
    Persian(double math,double english);
    double get_avg();


private:
    double _avg;
    double _math;
    double _english;
};

Persian:: Persian(double math,double english)
    :_math(math),
    _english(english){
        cout<<"创建了一个人"<<endl;
    }



double Persian::get_avg(){
    _avg=(_math+_english)/2;
    return _avg;
}


int main()
{
    Persian per1;
    Persian per(98.3,65.8);
//cout<<per1.get_avg();
    cout<<per.get_avg()<<endl;
    std::cout << "Hello world" << std::endl;
    return 0;
}

